You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page pageid="298" ns="0" title="Main Page">
        <revisions>
          <rev user="Johnny" comment="Johnny moved page [[Main Page]] to [[Withmore City]]" />
        </revisions>
      </page>
    </pages>
    <general mainpage="Main Page" base="https://www.sindome.org/wiki/index.php/Main_Page" sitename="The Mind" generator="MediaWiki 1.20.5" phpversion="5.6.40-26+ubuntu16.04.1+deb.sury.org+1" phpsapi="apache2handler" dbtype="postgres" dbversion="12.17" case="first-letter" rights="Creative Commons Attribution Non-Commercial Share Alike" lang="en" fallback8bitEncoding="windows-1252" writeapi="" timezone="America/Los_Angeles" timeoffset="-420" articlepath="/wiki/index.php/$1" scriptpath="/wiki" script="/wiki/index.php" variantarticlepath="" server="//www.sindome.org" wikiid="mindwiki" time="2024-04-27T17:03:36Z" maxuploadsize="104857600">
      <fallback />
    </general>
  </query>
</api>